	<form id="edit" class="form-horizontal" method="post" action="${cxt!}/admin/role/edit" >
	
		<input type="hidden" name="id" value="${customerRole.id!}">
		<div class="form-group">
			<label  class="col-md-2 control-label">${_res["role.categoryName"]}</label>
			<div class="col-md-10">
				<#dict type="select" class="form-control" id="categoryName" name="roleUpdate.categoryid" table="customer_role_category" filedName="name" filedValue="id" value="${customerRole.categoryid!}"/>
			</div>
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label">${_res["category.name"]}</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="name" placeholder="${_res['category.name']}" name="roleUpdate.name" value="${customerRole.name!}">
	        </div>
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label">${_res["category.nameen"]}</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="nameen" placeholder="${_res['category.nameen']}" name="roleUpdate.nameen" value="${customerRole.nameen!}">
	         </div>
		</div>
		
			
		
		<div class="form-group">
	       <div class="col-md-5 col-md-offset-2 control-label">
	       		<% if(hasPrivilegeUrl("/admin/rolelist")){ %>
	         	<button type="button" class="btn btn-warning" onClick="ajaxContent('/admin/role/list')">${_res["system.return"]}</button>
	         	<%}%>
	         	<button type="button" onclick="ajaxForm('content','edit');" class="btn btn-primary">${_res["system.save"]}</button>
	       </div>
       </div>
	</form>
